<template slot-scope="scope">
  <div class="box">
    <div class="dialog-box">
      <el-dialog
        title="开据发票"
        :visible.sync="dialogVisible"
        :before-close="handleClose"
        :modal-append-to-body="true"
        :lock-scroll="false"
      >
        <div class="dialog-p">
          <div class="left">
            <p><span style="color: #c24034">*</span>发票类型：</p>
            <p><span style="color: #c24034">*</span>选择需开发票信息：</p>
            <p><span style="color: #c24034">*</span>默认发票类型：</p>
            <p><span style="color: #c24034">*</span>选择邮箱：</p>
            <p><span style="color: #c24034">*</span>选择地址：</p>
          </div>
          <div class="center">
            <div class="cen-div">
              <el-radio v-model="radio" label="1">电子发票</el-radio>
              <el-radio v-model="radio" label="2">纸质发票</el-radio>
            </div>
            <div class="cen-div">
              <el-select v-model="value" placeholder="请选择开票信息">
                <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
            <div class="cen-div">
              <el-radio v-model="radio" label="1">增值税普通发票</el-radio>
              <el-radio v-model="radio" label="2">增值税专用发票</el-radio>
            </div>
            <div class="cen-div">
              <el-select v-model="value" placeholder="请选择邮箱">
                <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
            <div class="cen-div">
              <el-select v-model="value" placeholder="请选择地址">
                <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
          </div>
        </div>

        <span slot="footer" class="dialog-footer">
          <el-button @click="handleClose">取 消</el-button>
          <el-button type="primary" @click="handleUnderstand">确 定</el-button>
        </span>
      </el-dialog>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    // deviceList: {
    //   type: Array,
    //   default: () => {
    //     return [];
    //   },
    // },
    dialogVisible: {},
    select: {},
    num: {},
  },
  components: {},
  data() {
    return {
      radio: "1", // 单选
      value: "", // 搜索
      options: [
        {
          value: "1",
          label: "xxx有限公司",
        },
        {
          value: "2",
          label: "xxx有限公司",
        },
        {
          value: "3",
          label: "xxx有限公司",
        },
        {
          value: "4",
          label: "xxx有限公司",
        },
      ], // 搜索下拉框数据
    };
  },
  computed: {},
  created() {
    console.log(this.listarr);
  },
  methods: {
    handleClose() {
      this.$emit("handleCloseDele", this.dialogVisible);
      //   this.dialogVisible = false;
    },
    handleUnderstand() {
      this.$emit("handleUnderstand", this.dialogVisible);
    },
  },
};
</script>

<style scoped lang="less">
.dialog-p {
  width: 100%;
  display: flex;
  margin-top: -20px;
  .left {
    width: 28%;
    font-size: 15px;
    color: #101011;
    p {
      height: 35px;
      line-height: 35px;
      margin-top: 15px;
    }
  }
  .center {
    width: 50%;
    .cen-div {
      height: 35px;
      line-height: 35px;
      margin-top: 15px;

      /deep/.el-input__inner {
        height: 35px !important;
        font-size: 14px;
      }
    }
  }
}
::v-deep .el-dialog__wrapper {
  position: absolute !important;
  min-width: 200px;
}
::v-deep .v-modal {
  position: absolute !important;
  min-width: 200px;
}
/deep/.el-dialog {
  border-radius: 10px;
  background-color: FFFFFF;
  min-width: 400px;
  max-width: 700px;
  font-weight: 600;
}
</style>
